package com.cjkj.equipment.mapper;

import com.cjkj.equipment.domain.EquipmentTj03MonitorRecordsHr;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * TJ03设备心率数据Mapper接口
 * 
 * @author cjkj
 * @date 2025-05-27
 */
public interface EquipmentTj03MonitorRecordsHrMapper
{
    /**
     * 查询TJ03设备使用期间最新一条心率数据
     * @return TJ03设备心率数据
     */
    EquipmentTj03MonitorRecordsHr selectLastHrDataByEquipment(@Param("equipmentNo")String equipmentNo,
                                                                @Param("startTime") Date startTime);

    /**
     * 新增TJ03设备心率数据
     * @param equipmentTj03MonitorRecordsHr TJ03设备心率数据
     * @return 结果
     */
    int insertEquipmentTj03MonitorRecordsHr(EquipmentTj03MonitorRecordsHr equipmentTj03MonitorRecordsHr);

}
